package com.kingdee.hackson.service;

import com.kingdee.hackson.entity.AuthEntity;

import java.util.List;

public interface IAuthService {

    /**
     * 通过前缀查找用户权限
     *
     * @param orgId 前缀
     * @return
     */
    /**
     * 批量新增
     * @param datas
     */
    void batchInsert(List<AuthEntity> datas);

    void truncate();

    Long getIdListCountByParentPrefixCode(String prefix);

    String queryAuthCodeByOrgId(Long orgId);

    String queryStructNumberByOrgId(Long orgId);

    List<Long> getIdListByParentPrefixCode(String authCode);

    void addRoot();
}
